<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="版本管理">
        <device-envcontrol-firmware :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="分发管理">
        <DeviceEnvControlBatchDistribute :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>

import DeviceEnvcontrolFirmware from '@/views/property/device/envcontrol/envcontrol-firmware.vue';
import DeviceEnvControlBatchDistribute from '@/views/property/device/envcontrol/envcontrol-batch-distribute.vue';

export default {
  name: 'DeviceEnvcontrolFirmwareManager',
  components: {
    DeviceEnvcontrolFirmware,
    DeviceEnvControlBatchDistribute
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
